cnb\admin\settings\CnbSettingsController B

Total Complexity 97
Dependencies 10
Dependents 10
Total lines 478
Lines of code 293
Logical lines of code 176
Comment lines 118
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
validate_options()
C
37 26 68
post_option_cnb()
A
58 18 12
parseApiAndOttHeader()
A
46 10 38
get_api_key_from_ott()
S
51 7 25
update_user_email_opt_in()
S
60 5 13
delete_all_settings()
S
53 4 23
disallow_active_without_phone_number()
S
63 5 9
is_version_upgrade()
S
65 4 9
getApiKey()
S
60 3 14
override_changelog_version()
S
61 3 11
set_default_settings()
S
64 3 9
getStatus()
S
77 3 3
get_defaults()
S
51 1 28
is_advanced_view()
S
74 2 4
redirect_to_delete_all_settings()
S
60 1 14
set_changelog_version()
S
65 1 10
update_version()
S
82 1 3